<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MuPDFCore: MuPDFCore.MuPDFDocument Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">MuPDFCore<span id="projectnumber">&#160;1.8.0</span>
   </div>
   <div id="projectbrief">Multiplatform .NET bindings for MuPDF</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_mu_p_d_f_core_1_1_mu_p_d_f_document.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">MuPDFCore.MuPDFDocument Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A wrapper over a <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f.html" title="Contains static methods to perform setup operations.">MuPDF</a> document object, which contains possibly multiple pages.   
 <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for MuPDFCore.MuPDFDocument:</div>
<div class="dyncontent">
<div class="center"><img src="class_mu_p_d_f_core_1_1_mu_p_d_f_document__inherit__graph.png" border="0" usemap="#a_mu_p_d_f_core_8_mu_p_d_f_document_inherit__map" alt="Inheritance graph"/></div>
<map name="a_mu_p_d_f_core_8_mu_p_d_f_document_inherit__map" id="a_mu_p_d_f_core_8_mu_p_d_f_document_inherit__map">
<area shape="rect" title="A wrapper over a MuPDF document object, which contains possibly multiple pages." alt="" coords="5,79,205,104"/>
<area shape="rect" title=" " alt="" coords="61,5,150,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac3366ccae6a79335ba7ac73fdf4507d4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ac3366ccae6a79335ba7ac73fdf4507d4">MuPDFDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, IntPtr dataAddress, long dataLength, <a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a> fileType)</td></tr>
<tr class="memdesc:ac3366ccae6a79335ba7ac73fdf4507d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from data bytes accessible through the specified pointer.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ac3366ccae6a79335ba7ac73fdf4507d4">More...</a><br /></td></tr>
<tr class="separator:ac3366ccae6a79335ba7ac73fdf4507d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac27de3027a4fd44bbae7f5d5ebb44ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#aac27de3027a4fd44bbae7f5d5ebb44ac">MuPDFDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, IntPtr dataAddress, long dataLength, <a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a> fileType, ref IDisposable dataHolder)</td></tr>
<tr class="memdesc:aac27de3027a4fd44bbae7f5d5ebb44ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from data bytes accessible through the specified pointer.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#aac27de3027a4fd44bbae7f5d5ebb44ac">More...</a><br /></td></tr>
<tr class="separator:aac27de3027a4fd44bbae7f5d5ebb44ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa26de08c78c1abd6af2593533e92eab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#aaa26de08c78c1abd6af2593533e92eab">MuPDFDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, byte[] data, <a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a> fileType)</td></tr>
<tr class="memdesc:aaa26de08c78c1abd6af2593533e92eab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from an array of bytes.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#aaa26de08c78c1abd6af2593533e92eab">More...</a><br /></td></tr>
<tr class="separator:aaa26de08c78c1abd6af2593533e92eab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55cce640549a58648d592f0f213dd8be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a55cce640549a58648d592f0f213dd8be">MuPDFDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, ref MemoryStream data, <a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a> fileType)</td></tr>
<tr class="memdesc:a55cce640549a58648d592f0f213dd8be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from a MemoryStream.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a55cce640549a58648d592f0f213dd8be">More...</a><br /></td></tr>
<tr class="separator:a55cce640549a58648d592f0f213dd8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fba213e4b093be6e92b6ca067bd4e40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a5fba213e4b093be6e92b6ca067bd4e40">MuPDFDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, string fileName)</td></tr>
<tr class="memdesc:a5fba213e4b093be6e92b6ca067bd4e40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from a file.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a5fba213e4b093be6e92b6ca067bd4e40">More...</a><br /></td></tr>
<tr class="separator:a5fba213e4b093be6e92b6ca067bd4e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17bcd16383e9f14dfd7124da4fd5861b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a17bcd16383e9f14dfd7124da4fd5861b">ClearCache</a> ()</td></tr>
<tr class="memdesc:a17bcd16383e9f14dfd7124da4fd5861b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Discard all the display lists that have been loaded from the document, possibly freeing some memory in the case of a huge document.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a17bcd16383e9f14dfd7124da4fd5861b">More...</a><br /></td></tr>
<tr class="separator:a17bcd16383e9f14dfd7124da4fd5861b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b91561043d7cee7e7f83bd26f0ee960"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a0b91561043d7cee7e7f83bd26f0ee960">Layout</a> (float width, float height, float em)</td></tr>
<tr class="memdesc:a0b91561043d7cee7e7f83bd26f0ee960"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the document layout for reflowable document types (e.g., HTML, MOBI). Does not have any effect for documents with a fixed layout (e.g., PDF).   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a0b91561043d7cee7e7f83bd26f0ee960">More...</a><br /></td></tr>
<tr class="separator:a0b91561043d7cee7e7f83bd26f0ee960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8970df982576902a92f672a3bff587b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a8970df982576902a92f672a3bff587b4">LayoutSinglePage</a> (float width, float em)</td></tr>
<tr class="memdesc:a8970df982576902a92f672a3bff587b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the document layout for reflowable document types (e.g., HTML, MOBI), so that the document is rendered to a single page, as tall as necessary. Does not have any effect for documents with a fixed layout (e.g., PDF).   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a8970df982576902a92f672a3bff587b4">More...</a><br /></td></tr>
<tr class="separator:a8970df982576902a92f672a3bff587b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d371f49b80285fe2303cc3736d34d8"><td class="memItemLeft" align="right" valign="top">byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a07d371f49b80285fe2303cc3736d34d8">Render</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a07d371f49b80285fe2303cc3736d34d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render (part of) a page to an array of bytes.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a07d371f49b80285fe2303cc3736d34d8">More...</a><br /></td></tr>
<tr class="separator:a07d371f49b80285fe2303cc3736d34d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eeca1ba2ab6d8ec59e0eb62aa7b0632"><td class="memItemLeft" align="right" valign="top">byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a9eeca1ba2ab6d8ec59e0eb62aa7b0632">Render</a> (int pageNumber, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a9eeca1ba2ab6d8ec59e0eb62aa7b0632"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a page to an array of bytes.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a9eeca1ba2ab6d8ec59e0eb62aa7b0632">More...</a><br /></td></tr>
<tr class="separator:a9eeca1ba2ab6d8ec59e0eb62aa7b0632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a440fc7f8dc82f8e007e1e1327e13bbcd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a440fc7f8dc82f8e007e1e1327e13bbcd">Render</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, IntPtr destination, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a440fc7f8dc82f8e007e1e1327e13bbcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render (part of) a page to the specified destination.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a440fc7f8dc82f8e007e1e1327e13bbcd">More...</a><br /></td></tr>
<tr class="separator:a440fc7f8dc82f8e007e1e1327e13bbcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb5535ea11620c818469bc7d03512d1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#adb5535ea11620c818469bc7d03512d1c">Render</a> (int pageNumber, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, IntPtr destination, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:adb5535ea11620c818469bc7d03512d1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a page to the specified destination.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#adb5535ea11620c818469bc7d03512d1c">More...</a><br /></td></tr>
<tr class="separator:adb5535ea11620c818469bc7d03512d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4257311e4fab32a4713d55c1d5ad5dc7"><td class="memItemLeft" align="right" valign="top">Span&lt; byte &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a4257311e4fab32a4713d55c1d5ad5dc7">Render</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, out IDisposable disposable, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a4257311e4fab32a4713d55c1d5ad5dc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render (part of) a page to a <a class="el" href="">Span</a>&lt;byte&gt;.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a4257311e4fab32a4713d55c1d5ad5dc7">More...</a><br /></td></tr>
<tr class="separator:a4257311e4fab32a4713d55c1d5ad5dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab73256bd4480296f64fa136343366764"><td class="memItemLeft" align="right" valign="top">Span&lt; byte &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ab73256bd4480296f64fa136343366764">Render</a> (int pageNumber, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, out IDisposable disposable, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:ab73256bd4480296f64fa136343366764"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a page to a <a class="el" href="">Span</a>&lt;byte&gt;.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ab73256bd4480296f64fa136343366764">More...</a><br /></td></tr>
<tr class="separator:ab73256bd4480296f64fa136343366764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ea3701940cdfa3ca26676516a70bede"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_multi_threaded_page_renderer.html">MuPDFMultiThreadedPageRenderer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a5ea3701940cdfa3ca26676516a70bede">GetMultiThreadedRenderer</a> (int pageNumber, int threadCount, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a5ea3701940cdfa3ca26676516a70bede"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_multi_threaded_page_renderer.html" title="A class that holds the necessary resources to render a page of a MuPDF document using multiple thread...">MuPDFMultiThreadedPageRenderer</a> that renders the specified page with the specified number of threads.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a5ea3701940cdfa3ca26676516a70bede">More...</a><br /></td></tr>
<tr class="separator:a5ea3701940cdfa3ca26676516a70bede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cb4925508720a17b373ff69979d07cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a0cb4925508720a17b373ff69979d07cc">GetRenderedSize</a> (int pageNumber, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat)</td></tr>
<tr class="memdesc:a0cb4925508720a17b373ff69979d07cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine how many bytes will be necessary to render the specified page at the specified zoom level, using the the specified pixel format.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a0cb4925508720a17b373ff69979d07cc">More...</a><br /></td></tr>
<tr class="separator:a0cb4925508720a17b373ff69979d07cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5325407c802fd33982766295e4f3562c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a5325407c802fd33982766295e4f3562c">SaveImage</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, string fileName, <a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a> fileType, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a5325407c802fd33982766295e4f3562c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save (part of) a page to an image file in the specified format.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a5325407c802fd33982766295e4f3562c">More...</a><br /></td></tr>
<tr class="separator:a5325407c802fd33982766295e4f3562c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1973f6c17114894f0b583fa31711a843"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a1973f6c17114894f0b583fa31711a843">SaveImageAsJPEG</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, string fileName, int quality, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a1973f6c17114894f0b583fa31711a843"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save (part of) a page to an image file in JPEG format, with the specified quality.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a1973f6c17114894f0b583fa31711a843">More...</a><br /></td></tr>
<tr class="separator:a1973f6c17114894f0b583fa31711a843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a076f5938453f1828e29db9046fa58b4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a076f5938453f1828e29db9046fa58b4d">SaveImage</a> (int pageNumber, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, string fileName, <a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a> fileType, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a076f5938453f1828e29db9046fa58b4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save a page to an image file in the specified format.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a076f5938453f1828e29db9046fa58b4d">More...</a><br /></td></tr>
<tr class="separator:a076f5938453f1828e29db9046fa58b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70fe67bf274922494a057687db77fd31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a70fe67bf274922494a057687db77fd31">SaveImageAsJPEG</a> (int pageNumber, double zoom, string fileName, int quality, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a70fe67bf274922494a057687db77fd31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save a page to an image file in JPEG format, with the specified quality.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a70fe67bf274922494a057687db77fd31">More...</a><br /></td></tr>
<tr class="separator:a70fe67bf274922494a057687db77fd31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0264349fe3b2ccc319f0978c448ff11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ac0264349fe3b2ccc319f0978c448ff11">WriteImage</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, Stream outputStream, <a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a> fileType, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:ac0264349fe3b2ccc319f0978c448ff11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write (part of) a page to an image stream in the specified format.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ac0264349fe3b2ccc319f0978c448ff11">More...</a><br /></td></tr>
<tr class="separator:ac0264349fe3b2ccc319f0978c448ff11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a189c3300d32338bb05c271a99ac554f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a189c3300d32338bb05c271a99ac554f8">WriteImageAsJPEG</a> (int pageNumber, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, Stream outputStream, int quality, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a189c3300d32338bb05c271a99ac554f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write (part of) a page to an image stream in JPEG format, with the specified quality.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a189c3300d32338bb05c271a99ac554f8">More...</a><br /></td></tr>
<tr class="separator:a189c3300d32338bb05c271a99ac554f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab42e60e523a9a3fefc665c6b800cb3ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ab42e60e523a9a3fefc665c6b800cb3ec">WriteImage</a> (int pageNumber, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat, Stream outputStream, <a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a> fileType, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:ab42e60e523a9a3fefc665c6b800cb3ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a page to an image stream in the specified format.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ab42e60e523a9a3fefc665c6b800cb3ec">More...</a><br /></td></tr>
<tr class="separator:ab42e60e523a9a3fefc665c6b800cb3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa98bf815e6ccd98faa09506c69940a07"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#aa98bf815e6ccd98faa09506c69940a07">WriteImageAsJPEG</a> (int pageNumber, double zoom, Stream outputStream, int quality, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:aa98bf815e6ccd98faa09506c69940a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a page to an image stream in JPEG format, with the specified quality.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#aa98bf815e6ccd98faa09506c69940a07">More...</a><br /></td></tr>
<tr class="separator:aa98bf815e6ccd98faa09506c69940a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a55fe2639c8e092f26fb2139e878754"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html">MuPDFStructuredTextPage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a6a55fe2639c8e092f26fb2139e878754">GetStructuredTextPage</a> (int pageNumber, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a6a55fe2639c8e092f26fb2139e878754"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> from the specified page. This contains information about the text layout that can be used for highlighting and searching. The reading order is taken from the order the text is drawn in the source file, so may not be accurate.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a6a55fe2639c8e092f26fb2139e878754">More...</a><br /></td></tr>
<tr class="separator:a6a55fe2639c8e092f26fb2139e878754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2256e773c3781a8c787af014f807d496"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html">MuPDFStructuredTextPage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a2256e773c3781a8c787af014f807d496">GetStructuredTextPage</a> (int pageNumber, <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a> ocrLanguage, bool includeAnnotations=true, CancellationToken cancellationToken=default, IProgress&lt; <a class="el" href="class_mu_p_d_f_core_1_1_o_c_r_progress_info.html">OCRProgressInfo</a> &gt; progress=null)</td></tr>
<tr class="memdesc:a2256e773c3781a8c787af014f807d496"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> from the specified page, using optical character recognition (OCR) to determine what text is written on the image. This contains information about the text layout that can be used for highlighting and searching.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a2256e773c3781a8c787af014f807d496">More...</a><br /></td></tr>
<tr class="separator:a2256e773c3781a8c787af014f807d496"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab74eca1ade08acd6c1c6a02f86b4129e"><td class="memItemLeft" align="right" valign="top">async Task&lt; <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html">MuPDFStructuredTextPage</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ab74eca1ade08acd6c1c6a02f86b4129e">GetStructuredTextPageAsync</a> (int pageNumber, <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a> ocrLanguage, bool includeAnnotations=true, CancellationToken cancellationToken=default, IProgress&lt; <a class="el" href="class_mu_p_d_f_core_1_1_o_c_r_progress_info.html">OCRProgressInfo</a> &gt; progress=null)</td></tr>
<tr class="memdesc:ab74eca1ade08acd6c1c6a02f86b4129e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> from the specified page, using optical character recognition (OCR) to determine what text is written on the image. This contains information about the text layout that can be used for highlighting and searching. The OCR step is run asynchronously, e.g. to avoid blocking the UI thread.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ab74eca1ade08acd6c1c6a02f86b4129e">More...</a><br /></td></tr>
<tr class="separator:ab74eca1ade08acd6c1c6a02f86b4129e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70387793b8634c7cdda9d4c9f6c23de2"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a70387793b8634c7cdda9d4c9f6c23de2">ExtractText</a> (string separator=null, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:a70387793b8634c7cdda9d4c9f6c23de2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts all the text from the document and returns it as a string. The reading order is taken from the order the text is drawn in the source file, so may not be accurate.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a70387793b8634c7cdda9d4c9f6c23de2">More...</a><br /></td></tr>
<tr class="separator:a70387793b8634c7cdda9d4c9f6c23de2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adec1ed3c29832eb920dd86508b78cbc4"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#adec1ed3c29832eb920dd86508b78cbc4">ExtractText</a> (<a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a> ocrLanguage, string separator=null, bool includeAnnotations=true)</td></tr>
<tr class="memdesc:adec1ed3c29832eb920dd86508b78cbc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts all the text from the document and returns it as a string, using optical character recognition (OCR) to determine what text is written on the image.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#adec1ed3c29832eb920dd86508b78cbc4">More...</a><br /></td></tr>
<tr class="separator:adec1ed3c29832eb920dd86508b78cbc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ba051a89ec887bc6ffa01df9545ecdd"><td class="memItemLeft" align="right" valign="top">async Task&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a6ba051a89ec887bc6ffa01df9545ecdd">ExtractTextAsync</a> (<a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a> ocrLanguage, string separator=null, bool includeAnnotations=true, CancellationToken cancellationToken=default, IProgress&lt; <a class="el" href="class_mu_p_d_f_core_1_1_o_c_r_progress_info.html">OCRProgressInfo</a> &gt; progress=null)</td></tr>
<tr class="memdesc:a6ba051a89ec887bc6ffa01df9545ecdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts all the text from the document and returns it as a string, using optical character recognition (OCR) to determine what text is written on the image. The OCR step is run asynchronously, e.g. to avoid blocking the UI thread.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a6ba051a89ec887bc6ffa01df9545ecdd">More...</a><br /></td></tr>
<tr class="separator:a6ba051a89ec887bc6ffa01df9545ecdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21cfd24357a21e7b9349edcee1ca095a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a21cfd24357a21e7b9349edcee1ca095a">TryUnlock</a> (string password)</td></tr>
<tr class="memdesc:a21cfd24357a21e7b9349edcee1ca095a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to unlock the document with the supplied password.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a21cfd24357a21e7b9349edcee1ca095a">More...</a><br /></td></tr>
<tr class="separator:a21cfd24357a21e7b9349edcee1ca095a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc27b73c9aab377901cbfd7c6b1db591"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#adc27b73c9aab377901cbfd7c6b1db591">TryUnlock</a> (string password, out <a class="el" href="namespace_mu_p_d_f_core.html#ae9af8906676327d741663484e282c9a9">PasswordTypes</a> passwordType)</td></tr>
<tr class="memdesc:adc27b73c9aab377901cbfd7c6b1db591"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to unlock the document with the supplied password.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#adc27b73c9aab377901cbfd7c6b1db591">More...</a><br /></td></tr>
<tr class="separator:adc27b73c9aab377901cbfd7c6b1db591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45cb952cb57003ec1678cca71930d738"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a45cb952cb57003ec1678cca71930d738">Dispose</a> ()</td></tr>
<tr class="separator:a45cb952cb57003ec1678cca71930d738"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0956211d754de68c12a772b6f33cf43b"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a0956211d754de68c12a772b6f33cf43b">GetRenderedSize</a> (<a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, double zoom, <a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a> pixelFormat)</td></tr>
<tr class="memdesc:a0956211d754de68c12a772b6f33cf43b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine how many bytes will be necessary to render the specified region in page units at the specified zoom level, using the the specified pixel format.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a0956211d754de68c12a772b6f33cf43b">More...</a><br /></td></tr>
<tr class="separator:a0956211d754de68c12a772b6f33cf43b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69aa759f9a0458612fece2851310d76e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a69aa759f9a0458612fece2851310d76e">CreateDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, string fileName, <a class="el" href="namespace_mu_p_d_f_core.html#a4cb9694810eeb8c98f699eac7bebeca6">DocumentOutputFileTypes</a> fileType, bool includeAnnotations=true, params(<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_page.html">MuPDFPage</a> page, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, float zoom)[] pages)</td></tr>
<tr class="memdesc:a69aa759f9a0458612fece2851310d76e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new document containing the specified (parts of) pages from other documents.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a69aa759f9a0458612fece2851310d76e">More...</a><br /></td></tr>
<tr class="separator:a69aa759f9a0458612fece2851310d76e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae82f87c8f0e98b2b6b3186b1ed7bba93"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ae82f87c8f0e98b2b6b3186b1ed7bba93">CreateDocument</a> (<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a> context, string fileName, <a class="el" href="namespace_mu_p_d_f_core.html#a4cb9694810eeb8c98f699eac7bebeca6">DocumentOutputFileTypes</a> fileType, bool includeAnnotations=true, params <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_page.html">MuPDFPage</a>[] pages)</td></tr>
<tr class="memdesc:ae82f87c8f0e98b2b6b3186b1ed7bba93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new document containing the specified pages from other documents.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ae82f87c8f0e98b2b6b3186b1ed7bba93">More...</a><br /></td></tr>
<tr class="separator:ae82f87c8f0e98b2b6b3186b1ed7bba93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ac691043a7c74ff979a4f80279a8e9f79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_page_collection.html">MuPDFPageCollection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ac691043a7c74ff979a4f80279a8e9f79">Pages</a><code> [get]</code></td></tr>
<tr class="memdesc:ac691043a7c74ff979a4f80279a8e9f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">The pages contained in the document.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#ac691043a7c74ff979a4f80279a8e9f79">More...</a><br /></td></tr>
<tr class="separator:ac691043a7c74ff979a4f80279a8e9f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e7f89e98170b4cb9e88e6bf63f2da57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a4e7f89e98170b4cb9e88e6bf63f2da57">ClipToPageBounds</a> = true<code> [get, set]</code></td></tr>
<tr class="memdesc:a4e7f89e98170b4cb9e88e6bf63f2da57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines whether the images resulting from rendering operations should be clipped to the page boundaries.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a4e7f89e98170b4cb9e88e6bf63f2da57">More...</a><br /></td></tr>
<tr class="separator:a4e7f89e98170b4cb9e88e6bf63f2da57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a769f52a2b222998676d6028264175988"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_mu_p_d_f_core.html#a789c0ee2f3e1b7e939c1a94921119f02">EncryptionState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a769f52a2b222998676d6028264175988">EncryptionState</a><code> [get]</code></td></tr>
<tr class="memdesc:a769f52a2b222998676d6028264175988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the encryption state of the document.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a769f52a2b222998676d6028264175988">More...</a><br /></td></tr>
<tr class="separator:a769f52a2b222998676d6028264175988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31849c65b21c7a5e2999078a0ac9c4cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_mu_p_d_f_core.html#a8508181e09f4f3d05dfd9555e9519331">RestrictionState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a31849c65b21c7a5e2999078a0ac9c4cf">RestrictionState</a><code> [get]</code></td></tr>
<tr class="memdesc:a31849c65b21c7a5e2999078a0ac9c4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the restriction state of the document.   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a31849c65b21c7a5e2999078a0ac9c4cf">More...</a><br /></td></tr>
<tr class="separator:a31849c65b21c7a5e2999078a0ac9c4cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af93dd2bd9576b2b2612e159e647eae33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_mu_p_d_f_core.html#abff8cbdf3a6dcdbcd7b52a8696ac2595">DocumentRestrictions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#af93dd2bd9576b2b2612e159e647eae33">Restrictions</a><code> [get]</code></td></tr>
<tr class="memdesc:af93dd2bd9576b2b2612e159e647eae33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the operations that are restricted on the document. This is not actually enforced by the library, but library users should only allow these operations if the document has been unlocked with the owner password (i.e. if <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a31849c65b21c7a5e2999078a0ac9c4cf" title="Describes the restriction state of the document.">RestrictionState</a> is RestrictionState.Unlocked).   <a href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#af93dd2bd9576b2b2612e159e647eae33">More...</a><br /></td></tr>
<tr class="separator:af93dd2bd9576b2b2612e159e647eae33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A wrapper over a <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f.html" title="Contains static methods to perform setup operations.">MuPDF</a> document object, which contains possibly multiple pages.  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00030">30</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac3366ccae6a79335ba7ac73fdf4507d4" name="ac3366ccae6a79335ba7ac73fdf4507d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3366ccae6a79335ba7ac73fdf4507d4">&#9670;&#160;</a></span>MuPDFDocument() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.MuPDFDocument.MuPDFDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IntPtr&#160;</td>
          <td class="paramname"><em>dataAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>dataLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from data bytes accessible through the specified pointer.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that will own this document.</td></tr>
    <tr><td class="paramname">dataAddress</td><td>A pointer to the data bytes that make up the document.</td></tr>
    <tr><td class="paramname">dataLength</td><td>The number of bytes to read from the specified address.</td></tr>
    <tr><td class="paramname">fileType</td><td>The type of the document to read.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00137">137</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="aac27de3027a4fd44bbae7f5d5ebb44ac" name="aac27de3027a4fd44bbae7f5d5ebb44ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac27de3027a4fd44bbae7f5d5ebb44ac">&#9670;&#160;</a></span>MuPDFDocument() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.MuPDFDocument.MuPDFDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IntPtr&#160;</td>
          <td class="paramname"><em>dataAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>dataLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ref IDisposable&#160;</td>
          <td class="paramname"><em>dataHolder</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from data bytes accessible through the specified pointer.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that will own this document.</td></tr>
    <tr><td class="paramname">dataAddress</td><td>A pointer to the data bytes that make up the document.</td></tr>
    <tr><td class="paramname">dataLength</td><td>The number of bytes to read from the specified address.</td></tr>
    <tr><td class="paramname">fileType</td><td>The type of the document to read.</td></tr>
    <tr><td class="paramname">dataHolder</td><td>An IDisposable that will be disposed when the <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> is disposed.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00147">147</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="aaa26de08c78c1abd6af2593533e92eab" name="aaa26de08c78c1abd6af2593533e92eab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa26de08c78c1abd6af2593533e92eab">&#9670;&#160;</a></span>MuPDFDocument() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.MuPDFDocument.MuPDFDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte[]&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from an array of bytes.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that will own this document.</td></tr>
    <tr><td class="paramname">data</td><td>An array containing the data bytes that make up the document. This must not be altered until after the <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> has been disposed! The address of the array will be pinned, which may cause degradation in the Garbage Collector's performance, and is thus only advised for short-lived documents. To avoid this issue, marshal the bytes to unmanaged memory and use one of the IntPtr constructors.</td></tr>
    <tr><td class="paramname">fileType</td><td>The type of the document to read.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00247">247</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a55cce640549a58648d592f0f213dd8be" name="a55cce640549a58648d592f0f213dd8be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55cce640549a58648d592f0f213dd8be">&#9670;&#160;</a></span>MuPDFDocument() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.MuPDFDocument.MuPDFDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ref MemoryStream&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#a6f956802ff33af39b555fc95caf5486f">InputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from a MemoryStream.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that will own this document.</td></tr>
    <tr><td class="paramname">data</td><td>The MemoryStream containing the data that makes up the document. This will be disposed when the <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> has been disposed and must not be disposed externally! The address of the MemoryStream's buffer will be pinned, which may cause degradation in the Garbage Collector's performance, and is thus only advised for short-lived documents. To avoid this issue, marshal the bytes to unmanaged memory and use one of the IntPtr constructors.</td></tr>
    <tr><td class="paramname">fileType</td><td>The type of the document to read.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00349">349</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a5fba213e4b093be6e92b6ca067bd4e40" name="a5fba213e4b093be6e92b6ca067bd4e40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fba213e4b093be6e92b6ca067bd4e40">&#9670;&#160;</a></span>MuPDFDocument() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.MuPDFDocument.MuPDFDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html" title="A wrapper over a MuPDF document object, which contains possibly multiple pages.">MuPDFDocument</a> from a file.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that will own this document.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path to the file to open.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00455">455</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a17bcd16383e9f14dfd7124da4fd5861b" name="a17bcd16383e9f14dfd7124da4fd5861b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17bcd16383e9f14dfd7124da4fd5861b">&#9670;&#160;</a></span>ClearCache()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.ClearCache </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Discard all the display lists that have been loaded from the document, possibly freeing some memory in the case of a huge document.  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00586">586</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="ae82f87c8f0e98b2b6b3186b1ed7bba93" name="ae82f87c8f0e98b2b6b3186b1ed7bba93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae82f87c8f0e98b2b6b3186b1ed7bba93">&#9670;&#160;</a></span>CreateDocument() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void MuPDFCore.MuPDFDocument.CreateDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#a4cb9694810eeb8c98f699eac7bebeca6">DocumentOutputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_page.html">MuPDFPage</a>[]&#160;</td>
          <td class="paramname"><em>pages</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new document containing the specified pages from other documents.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that was used to open the documents.</td></tr>
    <tr><td class="paramname">fileName</td><td>The output file name.</td></tr>
    <tr><td class="paramname">fileType</td><td>The output file format.</td></tr>
    <tr><td class="paramname">pages</td><td>The pages to include in the document.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01377">1377</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a69aa759f9a0458612fece2851310d76e" name="a69aa759f9a0458612fece2851310d76e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69aa759f9a0458612fece2851310d76e">&#9670;&#160;</a></span>CreateDocument() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void MuPDFCore.MuPDFDocument.CreateDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_context.html">MuPDFContext</a>&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#a4cb9694810eeb8c98f699eac7bebeca6">DocumentOutputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params(<a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_page.html">MuPDFPage</a> page, <a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a> region, float zoom)[]&#160;</td>
          <td class="paramname"><em>pages</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new document containing the specified (parts of) pages from other documents.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The context that was used to open the documents.</td></tr>
    <tr><td class="paramname">fileName</td><td>The output file name.</td></tr>
    <tr><td class="paramname">fileType</td><td>The output file format.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
    <tr><td class="paramname">pages</td><td>The pages to include in the document. The "page" element specifies the page, the "region" element the area of the page that should be included in the document, and the "zoom" element how much the region should be scaled.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01269">1269</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a45cb952cb57003ec1678cca71930d738" name="a45cb952cb57003ec1678cca71930d738"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45cb952cb57003ec1678cca71930d738">&#9670;&#160;</a></span>Dispose()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.Dispose </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01736">1736</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a70387793b8634c7cdda9d4c9f6c23de2" name="a70387793b8634c7cdda9d4c9f6c23de2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70387793b8634c7cdda9d4c9f6c23de2">&#9670;&#160;</a></span>ExtractText() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string MuPDFCore.MuPDFDocument.ExtractText </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>separator</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extracts all the text from the document and returns it as a string. The reading order is taken from the order the text is drawn in the source file, so may not be accurate.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">separator</td><td>The character(s) used to separate the text lines obtained from the document. If this is <code>null</code>, Environment.NewLine is used as a default separator.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string containing all the text in the document. Characters are converted from the UTF-8 representation used in the document to equivalent UTF-16 strings.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01483">1483</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="adec1ed3c29832eb920dd86508b78cbc4" name="adec1ed3c29832eb920dd86508b78cbc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adec1ed3c29832eb920dd86508b78cbc4">&#9670;&#160;</a></span>ExtractText() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string MuPDFCore.MuPDFDocument.ExtractText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a>&#160;</td>
          <td class="paramname"><em>ocrLanguage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>separator</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extracts all the text from the document and returns it as a string, using optical character recognition (OCR) to determine what text is written on the image.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">separator</td><td>The character(s) used to separate the text lines obtained from the document. If this is <code>null</code>, Environment.NewLine is used as a default separator.</td></tr>
    <tr><td class="paramname">ocrLanguage</td><td>The language to use for optical character recognition (OCR). If this is null, no OCR is performed.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string containing all the text in the document. Characters are converted from the UTF-8 representation used in the document to equivalent UTF-16 strings.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01530">1530</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a6ba051a89ec887bc6ffa01df9545ecdd" name="a6ba051a89ec887bc6ffa01df9545ecdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ba051a89ec887bc6ffa01df9545ecdd">&#9670;&#160;</a></span>ExtractTextAsync()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">async Task&lt; string &gt; MuPDFCore.MuPDFDocument.ExtractTextAsync </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a>&#160;</td>
          <td class="paramname"><em>ocrLanguage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>separator</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CancellationToken&#160;</td>
          <td class="paramname"><em>cancellationToken</em> = <code>default</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IProgress&lt; <a class="el" href="class_mu_p_d_f_core_1_1_o_c_r_progress_info.html">OCRProgressInfo</a> &gt;&#160;</td>
          <td class="paramname"><em>progress</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extracts all the text from the document and returns it as a string, using optical character recognition (OCR) to determine what text is written on the image. The OCR step is run asynchronously, e.g. to avoid blocking the UI thread.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">separator</td><td>The character(s) used to separate the text lines obtained from the document. If this is <code>null</code>, Environment.NewLine is used as a default separator.</td></tr>
    <tr><td class="paramname">ocrLanguage</td><td>The language to use for optical character recognition (OCR). If this is null, no OCR is performed.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included. Otherwise, only the page contents are included.</td></tr>
    <tr><td class="paramname">cancellationToken</td><td>A CancellationToken used to cancel the operation.</td></tr>
    <tr><td class="paramname">progress</td><td>An IProgress&lt;OCRProgressInfo&gt; used to report progress.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string containing all the text in the document. Characters are converted from the UTF-8 representation used in the document to equivalent UTF-16 strings.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01579">1579</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a5ea3701940cdfa3ca26676516a70bede" name="a5ea3701940cdfa3ca26676516a70bede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ea3701940cdfa3ca26676516a70bede">&#9670;&#160;</a></span>GetMultiThreadedRenderer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_multi_threaded_page_renderer.html">MuPDFMultiThreadedPageRenderer</a> MuPDFCore.MuPDFDocument.GetMultiThreadedRenderer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>threadCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_multi_threaded_page_renderer.html" title="A class that holds the necessary resources to render a page of a MuPDF document using multiple thread...">MuPDFMultiThreadedPageRenderer</a> that renders the specified page with the specified number of threads.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">threadCount</td><td>The number of threads to use. This must be factorisable using only powers of 2, 3, 5 or 7. Otherwise, the biggest number smaller than <em>threadCount</em>  that satisfies this condition is used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_multi_threaded_page_renderer.html" title="A class that holds the necessary resources to render a page of a MuPDF document using multiple thread...">MuPDFMultiThreadedPageRenderer</a> that can be used to render the specified page with the specified number of threads.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00835">835</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a0cb4925508720a17b373ff69979d07cc" name="a0cb4925508720a17b373ff69979d07cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cb4925508720a17b373ff69979d07cc">&#9670;&#160;</a></span>GetRenderedSize() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MuPDFCore.MuPDFDocument.GetRenderedSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine how many bytes will be necessary to render the specified page at the specified zoom level, using the the specified pixel format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixels data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An integer representing the number of bytes that will be necessary to store the pixel data of the rendered image.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00857">857</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a0956211d754de68c12a772b6f33cf43b" name="a0956211d754de68c12a772b6f33cf43b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0956211d754de68c12a772b6f33cf43b">&#9670;&#160;</a></span>GetRenderedSize() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int MuPDFCore.MuPDFDocument.GetRenderedSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determine how many bytes will be necessary to render the specified region in page units at the specified zoom level, using the the specified pixel format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">region</td><td>The region that will be rendered.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the region will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixels data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An integer representing the number of bytes that will be necessary to store the pixel data of the rendered image.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00874">874</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a6a55fe2639c8e092f26fb2139e878754" name="a6a55fe2639c8e092f26fb2139e878754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a55fe2639c8e092f26fb2139e878754">&#9670;&#160;</a></span>GetStructuredTextPage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html">MuPDFStructuredTextPage</a> MuPDFCore.MuPDFDocument.GetStructuredTextPage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> from the specified page. This contains information about the text layout that can be used for highlighting and searching. The reading order is taken from the order the text is drawn in the source file, so may not be accurate.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page (starting at 0)</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> containing a structured text representation of the page.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01396">1396</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a2256e773c3781a8c787af014f807d496" name="a2256e773c3781a8c787af014f807d496"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2256e773c3781a8c787af014f807d496">&#9670;&#160;</a></span>GetStructuredTextPage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html">MuPDFStructuredTextPage</a> MuPDFCore.MuPDFDocument.GetStructuredTextPage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a>&#160;</td>
          <td class="paramname"><em>ocrLanguage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CancellationToken&#160;</td>
          <td class="paramname"><em>cancellationToken</em> = <code>default</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IProgress&lt; <a class="el" href="class_mu_p_d_f_core_1_1_o_c_r_progress_info.html">OCRProgressInfo</a> &gt;&#160;</td>
          <td class="paramname"><em>progress</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> from the specified page, using optical character recognition (OCR) to determine what text is written on the image. This contains information about the text layout that can be used for highlighting and searching.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page (starting at 0)</td></tr>
    <tr><td class="paramname">ocrLanguage</td><td>The language to use for optical character recognition (OCR). If this is null, no OCR is performed.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included. Otherwise, only the page contents are included.</td></tr>
    <tr><td class="paramname">cancellationToken</td><td>A CancellationToken used to cancel the operation. Providing a value other than the default is not supported on Windows x86 and will throw a runtime exception.</td></tr>
    <tr><td class="paramname">progress</td><td>An IProgress&lt;OCRProgressInfo&gt; used to report progress. Providing a value other than null is not supported on Windows x86 and will throw a runtime exception.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> containing a structured text representation of the page.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01420">1420</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="ab74eca1ade08acd6c1c6a02f86b4129e" name="ab74eca1ade08acd6c1c6a02f86b4129e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab74eca1ade08acd6c1c6a02f86b4129e">&#9670;&#160;</a></span>GetStructuredTextPageAsync()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">async Task&lt; <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html">MuPDFStructuredTextPage</a> &gt; MuPDFCore.MuPDFDocument.GetStructuredTextPageAsync </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a>&#160;</td>
          <td class="paramname"><em>ocrLanguage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CancellationToken&#160;</td>
          <td class="paramname"><em>cancellationToken</em> = <code>default</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IProgress&lt; <a class="el" href="class_mu_p_d_f_core_1_1_o_c_r_progress_info.html">OCRProgressInfo</a> &gt;&#160;</td>
          <td class="paramname"><em>progress</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> from the specified page, using optical character recognition (OCR) to determine what text is written on the image. This contains information about the text layout that can be used for highlighting and searching. The OCR step is run asynchronously, e.g. to avoid blocking the UI thread.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page (starting at 0)</td></tr>
    <tr><td class="paramname">ocrLanguage</td><td>The language to use for optical character recognition (OCR). If this is null, no OCR is performed.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included. Otherwise, only the page contents are included.</td></tr>
    <tr><td class="paramname">cancellationToken</td><td>A CancellationToken used to cancel the operation. Providing a value other than the default is not supported on Windows x86 and will throw a runtime exception.</td></tr>
    <tr><td class="paramname">progress</td><td>An IProgress&lt;OCRProgressInfo&gt; used to report progress. Providing a value other than null is not supported on Windows x86 and will throw a runtime exception.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_structured_text_page.html" title="Represents a structured representation of the text contained in a page.">MuPDFStructuredTextPage</a> containing a structured text representation of the page.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01453">1453</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a0b91561043d7cee7e7f83bd26f0ee960" name="a0b91561043d7cee7e7f83bd26f0ee960"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b91561043d7cee7e7f83bd26f0ee960">&#9670;&#160;</a></span>Layout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.Layout </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>em</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the document layout for reflowable document types (e.g., HTML, MOBI). Does not have any effect for documents with a fixed layout (e.g., PDF).  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The width of each page, in points. Must be &gt; 0.</td></tr>
    <tr><td class="paramname">height</td><td>The height of each page, in points. Must be &gt; 0.</td></tr>
    <tr><td class="paramname">em</td><td>The default font size, in points.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00601">601</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a8970df982576902a92f672a3bff587b4" name="a8970df982576902a92f672a3bff587b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8970df982576902a92f672a3bff587b4">&#9670;&#160;</a></span>LayoutSinglePage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.LayoutSinglePage </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>em</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the document layout for reflowable document types (e.g., HTML, MOBI), so that the document is rendered to a single page, as tall as necessary. Does not have any effect for documents with a fixed layout (e.g., PDF).  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The width of each page, in points. Must be &gt; 0.</td></tr>
    <tr><td class="paramname">em</td><td>The default font size, in points.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00629">629</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a9eeca1ba2ab6d8ec59e0eb62aa7b0632" name="a9eeca1ba2ab6d8ec59e0eb62aa7b0632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eeca1ba2ab6d8ec59e0eb62aa7b0632">&#9670;&#160;</a></span>Render() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">byte[] MuPDFCore.MuPDFDocument.Render </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render a page to an array of bytes.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A byte array containing the raw values for the pixels of the rendered image.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00689">689</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="adb5535ea11620c818469bc7d03512d1c" name="adb5535ea11620c818469bc7d03512d1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb5535ea11620c818469bc7d03512d1c">&#9670;&#160;</a></span>Render() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.Render </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IntPtr&#160;</td>
          <td class="paramname"><em>destination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render a page to the specified destination.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">destination</td><td>The address of the buffer where the pixel data will be written. There must be enough space available to write the values for all the pixels, otherwise this will fail catastrophically!</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00768">768</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="ab73256bd4480296f64fa136343366764" name="ab73256bd4480296f64fa136343366764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab73256bd4480296f64fa136343366764">&#9670;&#160;</a></span>Render() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Span&lt; byte &gt; MuPDFCore.MuPDFDocument.Render </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out IDisposable&#160;</td>
          <td class="paramname"><em>disposable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render a page to a <a class="el" href="">Span</a>&lt;byte&gt;.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">disposable</td><td>An IDisposable that can be used to free the memory where the image is stored. You should keep track of this and dispose it when you have finished working with the image.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00816">816</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a07d371f49b80285fe2303cc3736d34d8" name="a07d371f49b80285fe2303cc3736d34d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07d371f49b80285fe2303cc3736d34d8">&#9670;&#160;</a></span>Render() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">byte[] MuPDFCore.MuPDFDocument.Render </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render (part of) a page to an array of bytes.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A byte array containing the raw values for the pixels of the rendered image.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00655">655</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a440fc7f8dc82f8e007e1e1327e13bbcd" name="a440fc7f8dc82f8e007e1e1327e13bbcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a440fc7f8dc82f8e007e1e1327e13bbcd">&#9670;&#160;</a></span>Render() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.Render </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IntPtr&#160;</td>
          <td class="paramname"><em>destination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render (part of) a page to the specified destination.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">destination</td><td>The address of the buffer where the pixel data will be written. There must be enough space available to write the values for all the pixels, otherwise this will fail catastrophically!</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00709">709</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a4257311e4fab32a4713d55c1d5ad5dc7" name="a4257311e4fab32a4713d55c1d5ad5dc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4257311e4fab32a4713d55c1d5ad5dc7">&#9670;&#160;</a></span>Render() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Span&lt; byte &gt; MuPDFCore.MuPDFDocument.Render </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out IDisposable&#160;</td>
          <td class="paramname"><em>disposable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render (part of) a page to a <a class="el" href="">Span</a>&lt;byte&gt;.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">disposable</td><td>An IDisposable that can be used to free the memory where the image is stored. You should keep track of this and dispose it when you have finished working with the image.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00788">788</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a076f5938453f1828e29db9046fa58b4d" name="a076f5938453f1828e29db9046fa58b4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a076f5938453f1828e29db9046fa58b4d">&#9670;&#160;</a></span>SaveImage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.SaveImage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Save a page to an image file in the specified format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path to the output file.</td></tr>
    <tr><td class="paramname">fileType</td><td>The output format of the file.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01038">1038</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a5325407c802fd33982766295e4f3562c" name="a5325407c802fd33982766295e4f3562c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5325407c802fd33982766295e4f3562c">&#9670;&#160;</a></span>SaveImage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.SaveImage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Save (part of) a page to an image file in the specified format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path to the output file.</td></tr>
    <tr><td class="paramname">fileType</td><td>The output format of the file.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00910">910</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a70fe67bf274922494a057687db77fd31" name="a70fe67bf274922494a057687db77fd31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70fe67bf274922494a057687db77fd31">&#9670;&#160;</a></span>SaveImageAsJPEG() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.SaveImageAsJPEG </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Save a page to an image file in JPEG format, with the specified quality.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path to the output file.</td></tr>
    <tr><td class="paramname">quality</td><td>The quality of the JPEG output file (ranging from 0 to 100).</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01057">1057</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a1973f6c17114894f0b583fa31711a843" name="a1973f6c17114894f0b583fa31711a843"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1973f6c17114894f0b583fa31711a843">&#9670;&#160;</a></span>SaveImageAsJPEG() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.SaveImageAsJPEG </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Save (part of) a page to an image file in JPEG format, with the specified quality.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path to the output file.</td></tr>
    <tr><td class="paramname">quality</td><td>The quality of the JPEG output file (ranging from 0 to 100).</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00979">979</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a21cfd24357a21e7b9349edcee1ca095a" name="a21cfd24357a21e7b9349edcee1ca095a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21cfd24357a21e7b9349edcee1ca095a">&#9670;&#160;</a></span>TryUnlock() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MuPDFCore.MuPDFDocument.TryUnlock </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>password</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to unlock the document with the supplied password.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">password</td><td>The user or owner password to use to unlock the document.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code>If the document was successfully unlocked (or if it was never locked to begin with), <code>false</code> if the password was incorrect and the document is still locked.</dd></dl>
<p >This method can be used both to unlock an encrypted document and to check whether the supplied owner password is correct.</p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01625">1625</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="adc27b73c9aab377901cbfd7c6b1db591" name="adc27b73c9aab377901cbfd7c6b1db591"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc27b73c9aab377901cbfd7c6b1db591">&#9670;&#160;</a></span>TryUnlock() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MuPDFCore.MuPDFDocument.TryUnlock </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>password</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out <a class="el" href="namespace_mu_p_d_f_core.html#ae9af8906676327d741663484e282c9a9">PasswordTypes</a>&#160;</td>
          <td class="paramname"><em>passwordType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to unlock the document with the supplied password.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">password</td><td>The user or owner password to use to unlock the document.</td></tr>
    <tr><td class="paramname">passwordType</td><td>If the method returns true, this can be used to determine whether the supplied password was the user password or the owner password. If the method returns <code>false</code>, this can be used to determine whether a user password and/or an owner password are required.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code>If the document was successfully unlocked (or if it was never locked to begin with), <code>false</code> if the password was incorrect and the document is still locked.</dd></dl>
<p >This method can be used both to unlock an encrypted document and to check whether the supplied owner password is correct.</p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01638">1638</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="ab42e60e523a9a3fefc665c6b800cb3ec" name="ab42e60e523a9a3fefc665c6b800cb3ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab42e60e523a9a3fefc665c6b800cb3ec">&#9670;&#160;</a></span>WriteImage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.WriteImage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>outputStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write a page to an image stream in the specified format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">outputStream</td><td>The stream to which the image data will be written.</td></tr>
    <tr><td class="paramname">fileType</td><td>The output format of the image.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01231">1231</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="ac0264349fe3b2ccc319f0978c448ff11" name="ac0264349fe3b2ccc319f0978c448ff11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0264349fe3b2ccc319f0978c448ff11">&#9670;&#160;</a></span>WriteImage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.WriteImage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#ade1eb4d4f9c9c8a66bde9152ea9e41bb">PixelFormats</a>&#160;</td>
          <td class="paramname"><em>pixelFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>outputStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_mu_p_d_f_core.html#afb84d65324afe9d4edaf5b15c128bc7e">RasterOutputFileTypes</a>&#160;</td>
          <td class="paramname"><em>fileType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write (part of) a page to an image stream in the specified format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">pixelFormat</td><td>The format of the pixel data.</td></tr>
    <tr><td class="paramname">outputStream</td><td>The stream to which the image data will be written.</td></tr>
    <tr><td class="paramname">fileType</td><td>The output format of the image.</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01078">1078</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="aa98bf815e6ccd98faa09506c69940a07" name="aa98bf815e6ccd98faa09506c69940a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa98bf815e6ccd98faa09506c69940a07">&#9670;&#160;</a></span>WriteImageAsJPEG() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.WriteImageAsJPEG </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>outputStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write a page to an image stream in JPEG format, with the specified quality.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">outputStream</td><td>The stream to which the image data will be written.</td></tr>
    <tr><td class="paramname">quality</td><td>The quality of the JPEG output (ranging from 0 to 100).</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01250">1250</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a189c3300d32338bb05c271a99ac554f8" name="a189c3300d32338bb05c271a99ac554f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a189c3300d32338bb05c271a99ac554f8">&#9670;&#160;</a></span>WriteImageAsJPEG() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MuPDFCore.MuPDFDocument.WriteImageAsJPEG </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_mu_p_d_f_core_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>outputStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeAnnotations</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write (part of) a page to an image stream in JPEG format, with the specified quality.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pageNumber</td><td>The number of the page to render (starting at 0).</td></tr>
    <tr><td class="paramname">region</td><td>The region of the page to render in page units.</td></tr>
    <tr><td class="paramname">zoom</td><td>The scale at which the page will be rendered. This will determine the size in pixel of the image.</td></tr>
    <tr><td class="paramname">outputStream</td><td>The stream to which the image data will be written.</td></tr>
    <tr><td class="paramname">quality</td><td>The quality of the JPEG output (ranging from 0 to 100).</td></tr>
    <tr><td class="paramname">includeAnnotations</td><td>If this is <code>true</code>, annotations (e.g. signatures) are included in the display list that is generated. Otherwise, only the page contents are included.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l01160">1160</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a4e7f89e98170b4cb9e88e6bf63f2da57" name="a4e7f89e98170b4cb9e88e6bf63f2da57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e7f89e98170b4cb9e88e6bf63f2da57">&#9670;&#160;</a></span>ClipToPageBounds</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MuPDFCore.MuPDFDocument.ClipToPageBounds = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Defines whether the images resulting from rendering operations should be clipped to the page boundaries.  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00111">111</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a769f52a2b222998676d6028264175988" name="a769f52a2b222998676d6028264175988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a769f52a2b222998676d6028264175988">&#9670;&#160;</a></span>EncryptionState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_mu_p_d_f_core.html#a789c0ee2f3e1b7e939c1a94921119f02">EncryptionState</a> MuPDFCore.MuPDFDocument.EncryptionState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Describes the encryption state of the document.  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00116">116</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="ac691043a7c74ff979a4f80279a8e9f79" name="ac691043a7c74ff979a4f80279a8e9f79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac691043a7c74ff979a4f80279a8e9f79">&#9670;&#160;</a></span>Pages</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_page_collection.html">MuPDFPageCollection</a> MuPDFCore.MuPDFDocument.Pages</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The pages contained in the document.  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00106">106</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="af93dd2bd9576b2b2612e159e647eae33" name="af93dd2bd9576b2b2612e159e647eae33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af93dd2bd9576b2b2612e159e647eae33">&#9670;&#160;</a></span>Restrictions</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_mu_p_d_f_core.html#abff8cbdf3a6dcdbcd7b52a8696ac2595">DocumentRestrictions</a> MuPDFCore.MuPDFDocument.Restrictions</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Describes the operations that are restricted on the document. This is not actually enforced by the library, but library users should only allow these operations if the document has been unlocked with the owner password (i.e. if <a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html#a31849c65b21c7a5e2999078a0ac9c4cf" title="Describes the restriction state of the document.">RestrictionState</a> is RestrictionState.Unlocked).  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00128">128</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<a id="a31849c65b21c7a5e2999078a0ac9c4cf" name="a31849c65b21c7a5e2999078a0ac9c4cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31849c65b21c7a5e2999078a0ac9c4cf">&#9670;&#160;</a></span>RestrictionState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_mu_p_d_f_core.html#a8508181e09f4f3d05dfd9555e9519331">RestrictionState</a> MuPDFCore.MuPDFDocument.RestrictionState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Describes the restriction state of the document.  </p>

<p class="definition">Definition at line <a class="el" href="_mu_p_d_f_document_8cs_source.html#l00121">121</a> of file <a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>MuPDFCore/<a class="el" href="_mu_p_d_f_document_8cs_source.html">MuPDFDocument.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_mu_p_d_f_core.html">MuPDFCore</a></li><li class="navelem"><a class="el" href="class_mu_p_d_f_core_1_1_mu_p_d_f_document.html">MuPDFDocument</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
